package com.dodoke.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * 仓库信息
 */
@Data
@ToString
@TableName("retail_warehouse")
public class RetailWarehouse extends BaseEntity {
    @TableId()
    private Long id;
    @NotBlank(message = "请输入仓库名称")
    private String name;// 仓库名称
    private String no;// 仓库编号
    private String address;// 仓库地址
}
